package com.yunxi.sto.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.sto.pojo.*;
import com.yunxi.vehicle.pojo.VehicleCatalogListVO;
import com.yunxi.vehicle.pojo.VehicleSeriesListVO;
import com.yunxi.vip.pojo.StoVehicleExpVO;

import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.List;

public class VehicleStockDubboServiceMock implements  VehicleStockDubboService {
    @Override
    public VehicleStockVO getById(String id) throws InvocationTargetException, IllegalAccessException {
        VehicleStockVO vo  =  new VehicleStockVO();
        vo.setVin("暂无数据");
        return vo;
    }

    @Override
    public void saveOrUpdate(VehicleStockVO vehicleStockVO) throws InvocationTargetException, IllegalAccessException {

    }

    @Override
    public void removeById(String id) {

    }

    @Override
    public PageInfo<VehicleStockQueryVO> findPageByVO(VehicleStockQueryVO vehicleStockQueryVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException {
        PageInfo<VehicleStockQueryVO> page =  new   PageInfo<VehicleStockQueryVO>();
        List  list  =  new ArrayList();
        VehicleStockQueryVO vo =  new VehicleStockQueryVO();
        vo.setVin("暂无数据");
        list.add(vo);
        page.setList(list);
        return page;

    }

    @Override
    public void removeByListVo(List<VehicleStockVO> vehicleStockVOList) throws IllegalAccessException, InvocationTargetException, InstantiationException {

    }

    @Override
    public void frozenAndReset(List<VehicleStockFrozenVO> list, String isFrozen, Integer forzenReasonKey, String userId) throws Exception {

    }

    @Override
    public void repairInOut(List<String> list, Integer isRepairOut) throws Exception {

    }

    @Override
    public VehicleStockVO findByVehicleId(String vehicleId) throws InvocationTargetException, IllegalAccessException {
        VehicleStockVO vo  =  new VehicleStockVO();
        vo.setVin("暂无数据");
        return vo;
    }

    @Override
    public PageInfo<VehicleStockQueryVO> findMaintainPageByVO(VehicleStockQueryVO vehicleStockQueryVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException {
        PageInfo<VehicleStockQueryVO> page =  new   PageInfo<VehicleStockQueryVO>();
        List  list  =  new ArrayList();
        VehicleStockQueryVO vo =  new VehicleStockQueryVO();
        vo.setVin("暂无数据");
        list.add(vo);
        page.setList(list);
        return page;
    }

    @Override
    public List<VehicleStockMaintainVO> mainTainExport(VehicleStockQueryVO vehicleStockQueryVO) throws InvocationTargetException, IllegalAccessException {
        return null;
    }

    @Override
    public List<VehicleStockQueryVO> export(VehicleStockQueryVO vehicleStockQueryVO) throws Exception {
        List  list  =  new ArrayList();
        VehicleStockQueryVO vo =  new VehicleStockQueryVO();
        vo.setVin("暂无数据");
        list.add(vo);
        return list;
    }

    @Override
    public List<VehicleSeriesListVO> seriesList() throws Exception {
        List  list  =  new ArrayList();
        VehicleSeriesListVO vo =  new VehicleSeriesListVO();
        vo.setSeriesName("暂无数据");
        list.add(vo);
        return list;
    }

    @Override
    public List<VehicleCatalogListVO> catalogList() throws Exception {
        List  list  =  new ArrayList();
        VehicleCatalogListVO vo =  new VehicleCatalogListVO();
        vo.setCatalogName("暂无数据");
        list.add(vo);
        return list;
    }

    @Override
    public void importFrozen(VehicleStockImportVO vehicleStockImportVO, String updateBy) throws Exception {

    }

    @Override
    public PageInfo<VehicleStockQueryVO> sharePage(VehicleStockQueryVO vehicleStockQueryVO, Integer pageNum, Integer pageSize) throws Exception {
        PageInfo<VehicleStockQueryVO> page =  new   PageInfo<VehicleStockQueryVO>();
        List  list  =  new ArrayList();
        VehicleStockQueryVO vo =  new VehicleStockQueryVO();
        vo.setVin("暂无数据");
        list.add(vo);
        page.setList(list);
        return page;

    }

    @Override
    public PageInfo<VehicleStockQueryVO> newSharePage(VehicleStockQueryVO vehicleStockQueryVO, Integer pageNum, Integer pageSize) throws Exception {
        PageInfo<VehicleStockQueryVO> page =  new   PageInfo<VehicleStockQueryVO>();
        List  list  =  new ArrayList();
        VehicleStockQueryVO vo =  new VehicleStockQueryVO();
        vo.setVin("暂无数据");
        list.add(vo);
        page.setList(list);
        return page;
    }

    @Override
    public PageInfo<VehicleStockQueryVO> financePage(VehicleStockQueryVO vehicleStockQueryVO, Integer pageNum, Integer pageSize) throws Exception {
        PageInfo<VehicleStockQueryVO> page =  new   PageInfo<VehicleStockQueryVO>();
        List  list  =  new ArrayList();
        VehicleStockQueryVO vo =  new VehicleStockQueryVO();
        vo.setVin("暂无数据");
        list.add(vo);
        page.setList(list);
        return page;
    }

    @Override
    public PageInfo<VehicleStockQueryVO> shareList(VehicleStockQueryVO vehicleStockQueryVO, Integer pageNum, Integer pageSize) throws Exception {
        PageInfo<VehicleStockQueryVO> page =  new   PageInfo<VehicleStockQueryVO>();
        List  list  =  new ArrayList();
        VehicleStockQueryVO vo =  new VehicleStockQueryVO();
        vo.setVin("暂无数据");
        list.add(vo);
        page.setList(list);
        return page;
    }

    @Override
    public void setShare(List<String> list, String userCode, Integer isAdd) throws Exception {

    }

    @Override
    public void cancelShare(String vin) throws Exception {

    }

    @Override
    public void putVehicle(StoVehicleExpVO stoVehicleExpVO, int i) {

    }

    @Override
    public List<VehicleStockFrozenListVO> exportFrozenList() throws Exception {
        List  list  =  new ArrayList();
        VehicleStockFrozenListVO vo =  new VehicleStockFrozenListVO();
        vo.setVin("暂无数据");
        list.add(vo);
        return list;
    }

    @Override
    public List<VehicleStockReportVO> stockReport(VehicleStockReportVO vehicleStockReportVO) throws Exception {
        List  list  =  new ArrayList();
        VehicleStockReportVO vo =  new VehicleStockReportVO();
        vo.setPartnerCode("暂无数据");
        list.add(vo);
        return list;
    }

    @Override
    public List<VehicleStockReportDetailVO> stockReportDetail(VehicleStockReportDetailVO vehicleStockReportDetailVO) throws Exception {
        List  list  =  new ArrayList();
        VehicleStockReportDetailVO vo =  new VehicleStockReportDetailVO();
        vo.setPartnerCode("暂无数据");
        list.add(vo);
        return list;
    }

    @Override
    public void vehicleBind(VehicleStockBindVO vehicleStockBindVO) throws Exception {

    }

    @Override
    public void testDriveOut(VehicleStockBindVO vehicleStockBindVO) throws Exception {

    }

    @Override
    public List<VehicleStockQueryVO> findMaintainList(VehicleStockQueryVO vehicleStockQueryVO) throws Exception {
        List  list  =  new ArrayList();
        VehicleStockQueryVO vo =  new VehicleStockQueryVO();
        vo.setPartnerCode("暂无数据");
        list.add(vo);
        return list;
    }
}
